package com.yyplatform.frontend.infra.service;

import com.yyplatform.frontend.infra.web.jwt.CurrentUser;

/**
 * Created on 2024-10-17
 */
public interface UserInfraService {


    CurrentUser getById(long id);

    boolean checkAuth(long userId, int loginType, String identifier);


}
